local wen__langxin = fk.CreateSkill {
  name = "wen__langxin",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable{
  ["wen__langxin"] = "郎心",
  [":wen__langxin"] = "锁定技，当你受到大于1点的伤害时，你将伤害值改为1点。",
}

wen__langxin:addEffect(fk.DetermineDamageInflicted, {
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(wen__langxin.name) and data.damage > 1
  end,
  on_use = function(self, event, target, player, data)
    data:changeDamage(1 - data.damage)
  end,
})

return wen__langxin